Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / user-federation / instances / {id} / mappers

Get mappers configured for this provider

Path parameters:
realm - realm name (not id!)
id -

Sub-Resources
Resources
NameDescription
{id}Get mapper

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/user-federation/instances/{id}/mappersGet mappers configured for this provider
POST /admin/realms/{realm}/user-federation/instances/{id}/mappersCreate mapper

Method Detail

GET /admin/realms/{realm}/user-federation/instances/{id}/mappers

Get mappers configured for this provider

HTTP Example:
GET /admin/realms/{realm}/user-federation/instances/{id}/mappers
API Example:

UserFederationProviderResource.getMappers({'realm': /* name realm name (not id!) */,
  'id': …});

Output:
List<UserFederationMapperRepresentation> -
Produces:
application/json

POST /admin/realms/{realm}/user-federation/instances/{id}/mappers

Create mapper

HTTP Example:
POST /admin/realms/{realm}/user-federation/instances/{id}/mappers
API Example:

UserFederationProviderResource.addMapper({'realm': /* name realm name (not id!) */,
  'id': …,
  '$entity': /* mapper */});

Input:
UserFederationMapperRepresentation
Output:
Response -
Consumes:
application/json

Keycloak REST Services 1.5.0-Final